#define   _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#define SWAP(n) (((n&0xaaaaaaaa)>>1) + ((n&0x55555555)<<1));
int main()
{
	int a = SWAP(16);
	printf("%d", a);
	return 0;

}